package com.mall.app.service;

import com.mall.app.bean.TbBuyer;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 买家表 服务类
 * </p>
 *
 * @author LeeSin
 * @since 2020-07-10
 */
public interface TbBuyerService extends IService<TbBuyer> {

	TbBuyer login(String username);
	
	List<TbBuyer> listPage(Map<String, Object> map);

	int getCount(Map<String, Object> map);
	
	boolean insertBuyer(TbBuyer buyer);

	boolean updateBuyer(TbBuyer buyer);

	boolean deleteBuyer(String[] bids);

}
